import React from "react";
import PubSub from "pubsub-js";
import dirSVG from "../../../../assets/file-icon/dir.svg";

import './index.scss'

export default function List() {

    return (
        <>
            <div className='list'>
                <div className='item' onClick={ () => PubSub.publish('EV_NEW_FOLDER') }>
                    <img src={ dirSVG } alt={ 'dir' } />
                    <span>新建文件夹</span>
                </div>
            </div>

        </>
    )
}